import React, {Component,PureComponent} from 'react';

class Child extends PureComponent {
    state = {}
    // UNSAFE_componentWillReceiveProps(nextProps, nextContext) {
    //     console.log('11111UNSAFE_componentWillReceiveProps')
    // }
    static getDerivedStateFromProps(){
        console.log('getDerivedStateFromProps')
        return {}
    }

    render() {
        console.log('render1111111')
        return (
            <div>
                Child
            </div>
        );
    }
}

export default Child;